<?php

namespace App\Kuafu\ProductMenu\Controller\Internal;

use App\Kuafu\Base\Controller\BaseController;
use App\Kuafu\ProductMenu\Service\ProductMenuService;
use Illuminate\Http\Request;

class ProductMenuController extends BaseController
{

    public function getAllById(Request $request)
    {
        return $this->success(['list' => ProductMenuService::listForCallingCards((int)$request->id)]);
    }

}
